/**
 * 
 */
package com.aceitunaproject.client;

import javax.swing.DefaultListModel;


/**
 * 
 * Model for the game element list.
 * 
 * @author Federico Bergstein
 *
 */
public class ElementListModel extends DefaultListModel {

	/**
	 * serial id
	 */
	private static final long serialVersionUID = 1L;
	
	public ElementWrapper getElement(int index)
	{
		return (ElementWrapper)get(index);
	}
	public void add(ElementWrapper element)
	{
		add(this.getSize(),element);
	}
	
}
